package com.wjf.product.pojo;

/**
 * Product entity. @author MyEclipse Persistence Tools
 */

public class Product implements java.io.Serializable {

	// Fields

	private Integer id;
	private Type type;
	private String name;
	private String shortDesc;
	private String descript;
	private Double price;
	private Integer counts;
	private Integer lastCounts;
	private Double otherPrice;
	private String model;

	// Constructors

	/** default constructor */
	public Product() {
	}

	/** minimal constructor */
	public Product(Type type, String name, Double price, Integer counts,
			Integer lastCounts, Double otherPrice, String model) {
		this.type = type;
		this.name = name;
		this.price = price;
		this.counts = counts;
		this.lastCounts = lastCounts;
		this.otherPrice = otherPrice;
		this.model = model;
	}

	/** full constructor */
	public Product(Type type, String name, String shortDesc, String descript,
			Double price, Integer counts, Integer lastCounts,
			Double otherPrice, String model) {
		this.type = type;
		this.name = name;
		this.shortDesc = shortDesc;
		this.descript = descript;
		this.price = price;
		this.counts = counts;
		this.lastCounts = lastCounts;
		this.otherPrice = otherPrice;
		this.model = model;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Type getType() {
		return this.type;
	}

	public void setType(Type type) {
		this.type = type;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getShortDesc() {
		return this.shortDesc;
	}

	public void setShortDesc(String shortDesc) {
		this.shortDesc = shortDesc;
	}

	public String getDescript() {
		return this.descript;
	}

	public void setDescript(String descript) {
		this.descript = descript;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Integer getCounts() {
		return this.counts;
	}

	public void setCounts(Integer counts) {
		this.counts = counts;
	}

	public Integer getLastCounts() {
		return this.lastCounts;
	}

	public void setLastCounts(Integer lastCounts) {
		this.lastCounts = lastCounts;
	}

	public Double getOtherPrice() {
		return this.otherPrice;
	}

	public void setOtherPrice(Double otherPrice) {
		this.otherPrice = otherPrice;
	}

	public String getModel() {
		return this.model;
	}

	public void setModel(String model) {
		this.model = model;
	}

}